﻿using System;

namespace WpfApp1.Model
{
    class TripModel : NoticeObject
    {
        private long id;
        private string title;
        private DateTime start_time;
        private DateTime end_time;
        private string area;
        private string remark;
        private string car_cost;
        private string hotel_cost;
        private string total_cost;

        public long Id { get { return id; } set { id = value; RaisePropertyChanged("Id"); } }
        public string Title { get { return title; } set { title = value; RaisePropertyChanged("Title"); } }
        public DateTime Start_time { get { return start_time; } set { start_time = value; RaisePropertyChanged("Start_time"); } }
        public DateTime End_time { get { return end_time; } set { end_time = value; RaisePropertyChanged("End_time"); } }
        public string Area { get { return area; } set { area = value; RaisePropertyChanged("Area"); } }
        public string Remark { get { return remark; } set { remark = value; RaisePropertyChanged("Remark"); } }
        public string Car_cost { get { return car_cost; } set { car_cost = value; RaisePropertyChanged("Car_cost"); } }
        public string Hotel_cost { get { return hotel_cost; } set { hotel_cost = value; RaisePropertyChanged("Hotel_cost"); } }
        public string Total_cost { get { return total_cost; } set { total_cost = value; RaisePropertyChanged("Total_cost"); } }
    }
}
